package vip.geeker.iotms.persistance.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DeviceTypeData extends PageParam implements Serializable {

    private static final long serialVersionUID = -3078562261446050979L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String unit;

    private Date createTime;

    private Integer typeId;

    @TableField(exist = false)
    private String typeName;

}
